<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the V2TimCommunityListener constructor from Class V2TimCommunityListener from the V2TimCommunityListener library, for the Dart programming language.">
  <title>V2TimCommunityListener constructor - V2TimCommunityListener - V2TimCommunityListener library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../../static-assets/github.css?v1">
  <link rel="stylesheet" href="../../static-assets/styles.css?v1">
  <link rel="icon" href="../../static-assets/favicon.png?v1">

  
</head>


<body data-base-href="../../" data-using-base-href="false" class="light-theme">

<div id="overlay-under-drawer"></div>

<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../../index.html">tencent_cloud_chat_sdk</a></li>
    <li><a href="../../enum_V2TimCommunityListener/enum_V2TimCommunityListener-library.html">enum&#47;V2TimCommunityListener.dart</a></li>
    <li><a href="../../enum_V2TimCommunityListener/V2TimCommunityListener-class.html">V2TimCommunityListener</a></li>
    <li class="self-crumb">V2TimCommunityListener constructor</li>
  </ol>
  <div class="self-name">V2TimCommunityListener</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button" title="Toggle brightness">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        dark_mode
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        light_mode
      </span>
    </label>
  </div>
</header>
<main>

  <div
      id="dartdoc-main-content"
      class="main-content"
      data-above-sidebar="enum_V2TimCommunityListener&#47;V2TimCommunityListener-class-sidebar.html"
      data-below-sidebar="">
      <div>
<h1><span class="kind-constructor">V2TimCommunityListener</span> constructor 
</h1></div>

    <section class="multi-line-signature">
      
      <span class="name ">V2TimCommunityListener</span>(<wbr><ol class="parameter-list"><li><span class="parameter" id="-param-onCreateTopic">{<span class="type-annotation"><a href="../../enum_callbacks/OnCreateTopic.html">OnCreateTopic</a>?</span> <span class="parameter-name">onCreateTopic</span>, </span></li>
<li><span class="parameter" id="-param-onDeleteTopic"><span class="type-annotation"><a href="../../enum_callbacks/OnDeleteTopic.html">OnDeleteTopic</a>?</span> <span class="parameter-name">onDeleteTopic</span>, </span></li>
<li><span class="parameter" id="-param-onChangeTopicInfo"><span class="type-annotation"><a href="../../enum_callbacks/OnChangeTopicInfo.html">OnChangeTopicInfo</a>?</span> <span class="parameter-name">onChangeTopicInfo</span>, </span></li>
<li><span class="parameter" id="-param-onReceiveTopicRESTCustomData"><span class="type-annotation"><a href="../../enum_callbacks/OnReceiveTopicRESTCustomData.html">OnReceiveTopicRESTCustomData</a>?</span> <span class="parameter-name">onReceiveTopicRESTCustomData</span>, </span></li>
<li><span class="parameter" id="-param-onCreatePermissionGroup"><span class="type-annotation"><a href="../../enum_callbacks/OnCreatePermissionGroup.html">OnCreatePermissionGroup</a>?</span> <span class="parameter-name">onCreatePermissionGroup</span>, </span></li>
<li><span class="parameter" id="-param-onDeletePermissionGroup"><span class="type-annotation"><a href="../../enum_callbacks/OnDeletePermissionGroup.html">OnDeletePermissionGroup</a>?</span> <span class="parameter-name">onDeletePermissionGroup</span>, </span></li>
<li><span class="parameter" id="-param-onChangePermissionGroupInfo"><span class="type-annotation"><a href="../../enum_callbacks/OnChangePermissionGroupInfo.html">OnChangePermissionGroupInfo</a>?</span> <span class="parameter-name">onChangePermissionGroupInfo</span>, </span></li>
<li><span class="parameter" id="-param-onAddMembersToPermissionGroup"><span class="type-annotation"><a href="../../enum_callbacks/OnAddMembersToPermissionGroup.html">OnAddMembersToPermissionGroup</a>?</span> <span class="parameter-name">onAddMembersToPermissionGroup</span>, </span></li>
<li><span class="parameter" id="-param-onRemoveMembersFromPermissionGroup"><span class="type-annotation"><a href="../../enum_callbacks/OnRemoveMembersFromPermissionGroup.html">OnRemoveMembersFromPermissionGroup</a>?</span> <span class="parameter-name">onRemoveMembersFromPermissionGroup</span>, </span></li>
<li><span class="parameter" id="-param-onAddTopicPermission"><span class="type-annotation"><a href="../../enum_callbacks/OnAddTopicPermission.html">OnAddTopicPermission</a>?</span> <span class="parameter-name">onAddTopicPermission</span>, </span></li>
<li><span class="parameter" id="-param-onDeleteTopicPermission"><span class="type-annotation"><a href="../../enum_callbacks/OnDeleteTopicPermission.html">OnDeleteTopicPermission</a>?</span> <span class="parameter-name">onDeleteTopicPermission</span>, </span></li>
<li><span class="parameter" id="-param-onModifyTopicPermission"><span class="type-annotation"><a href="../../enum_callbacks/OnModifyTopicPermission.html">OnModifyTopicPermission</a>?</span> <span class="parameter-name">onModifyTopicPermission</span>}</span></li>
</ol>)
    </section>

    


    
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">V2TimCommunityListener({
  OnCreateTopic? onCreateTopic,
  OnDeleteTopic? onDeleteTopic,
  OnChangeTopicInfo? onChangeTopicInfo,
  OnReceiveTopicRESTCustomData? onReceiveTopicRESTCustomData,
  OnCreatePermissionGroup? onCreatePermissionGroup,
  OnDeletePermissionGroup? onDeletePermissionGroup,
  OnChangePermissionGroupInfo? onChangePermissionGroupInfo,
  OnAddMembersToPermissionGroup? onAddMembersToPermissionGroup,
  OnRemoveMembersFromPermissionGroup? onRemoveMembersFromPermissionGroup,
  OnAddTopicPermission? onAddTopicPermission,
  OnDeleteTopicPermission? onDeleteTopicPermission,
  OnModifyTopicPermission? onModifyTopicPermission,
}) {
  if (onCreateTopic != null) {
    this.onCreateTopic = onCreateTopic;
  }
  if (onDeleteTopic != null) {
    this.onDeleteTopic = onDeleteTopic;
  }
  if (onChangeTopicInfo != null) {
    this.onChangeTopicInfo = onChangeTopicInfo;
  }
  if (onReceiveTopicRESTCustomData != null) {
    this.onReceiveTopicRESTCustomData = onReceiveTopicRESTCustomData;
  }
  if (onCreatePermissionGroup != null) {
    this.onCreatePermissionGroup = onCreatePermissionGroup;
  }
  if (onDeletePermissionGroup != null) {
    this.onDeletePermissionGroup = onDeletePermissionGroup;
  }
  if (onChangePermissionGroupInfo != null) {
    this.onChangePermissionGroupInfo = onChangePermissionGroupInfo;
  }
  if (onAddMembersToPermissionGroup != null) {
    this.onAddMembersToPermissionGroup = onAddMembersToPermissionGroup;
  }
  if (onRemoveMembersFromPermissionGroup != null) {
    this.onRemoveMembersFromPermissionGroup =
        onRemoveMembersFromPermissionGroup;
  }
  if (onAddTopicPermission != null) {
    this.onAddTopicPermission = onAddTopicPermission;
  }
  if (onDeleteTopicPermission != null) {
    this.onDeleteTopicPermission = onDeleteTopicPermission;
  }
  if (onModifyTopicPermission != null) {
    this.onModifyTopicPermission = onModifyTopicPermission;
  }
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
    <li><a href="../../index.html">tencent_cloud_chat_sdk</a></li>
    <li><a href="../../enum_V2TimCommunityListener/enum_V2TimCommunityListener-library.html">V2TimCommunityListener</a></li>
    <li><a href="../../enum_V2TimCommunityListener/V2TimCommunityListener-class.html">V2TimCommunityListener</a></li>
    <li class="self-crumb">V2TimCommunityListener constructor</li>
</ol>


    <h5>V2TimCommunityListener class</h5>
    <div id="dartdoc-sidebar-left-content"></div>
  </div><!--/.sidebar-offcanvas-left-->

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    tencent_cloud_chat_sdk
      8.5.6864-beta.7
  </span>

  
</footer>



<script src="../../static-assets/highlight.pack.js?v1"></script>
<script src="../../static-assets/docs.dart.js"></script>



</body>

</html>

